package com.dns.test.client;

import com.dns.util.Constants;


public class DNSMessages {

	//DNS Msg: 			<ServerIP>,<ServerPort>,<Source>,<QueryType>,<Domain> Ex: 
	//Reverser DNS MSG: <ServerIP>,<ServerPort>,<Source>,<QueryType>,<IP>
	//Update MSG:		<ServerIP>,<ServerPort>,<Source>,<QueryType>,<Domain>,<IP>
	
	public static String [][] Msgs = {
		//edu
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.uta.edu"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.3.1"},
		new String [] {DNSClient.secondaryServerIP_Edu, DNSClient.secondaryServerPort_Edu, Constants.CLIENT, "www.uta.edu", "1.2.3.1"},

		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.utd.edu"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.3.2"},
		new String [] {DNSClient.secondaryServerIP_Edu, DNSClient.secondaryServerPort_Edu, Constants.CLIENT, "www.utd.edu", "1.2.3.2"},
		
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.asu.edu"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.3.3"},
		new String [] {DNSClient.secondaryServerIP_Edu, DNSClient.secondaryServerPort_Edu, Constants.CLIENT, "www.asu.edu", "1.2.3.3"},
		
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.uh.edu"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.3.4"},
		new String [] {DNSClient.secondaryServerIP_Edu, DNSClient.secondaryServerPort_Edu, Constants.CLIENT, "www.uh.edu", "1.2.3.4"},
	
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.utexas.edu"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.3.5"},
		new String [] {DNSClient.secondaryServerIP_Edu, DNSClient.secondaryServerPort_Edu, Constants.CLIENT, "www.utexas.edu", "1.2.3.5"},
		
		//Org
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.uno.org"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.4.1"},
		new String [] {DNSClient.secondaryServerIP_Org, DNSClient.secondaryServerPort_Org, Constants.CLIENT, "www.uno.org", "1.2.4.1"},

		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.physics.org"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.4.2"},
		new String [] {DNSClient.secondaryServerIP_Org, DNSClient.secondaryServerPort_Org, Constants.CLIENT, "www.physics.org", "1.2.4.2"},
		
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.eduseek.org"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.4.3"},
		new String [] {DNSClient.secondaryServerIP_Org, DNSClient.secondaryServerPort_Org, Constants.CLIENT, "www.eduseek.org", "1.2.4.3"},
		
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.history.org"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.4.4"},
		new String [] {DNSClient.secondaryServerIP_Org, DNSClient.secondaryServerPort_Org, Constants.CLIENT, "www.history.org", "1.2.4.4"},
	
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.wikipedia.org"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.4.5"},
		new String [] {DNSClient.secondaryServerIP_Org, DNSClient.secondaryServerPort_Org, Constants.CLIENT, "www.wikipedia.org", "1.2.4.5"},

		//Com
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.google.com"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.5.1"},
		new String [] {DNSClient.secondaryServerIP_Com, DNSClient.secondaryServerPort_Com, Constants.CLIENT, "www.google.com", "1.2.5.1"},

		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.facebook.com"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.5.2"},
		new String [] {DNSClient.secondaryServerIP_Com, DNSClient.secondaryServerPort_Com, Constants.CLIENT, "www.facebook.com", "1.2.5.2"},
		
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.linkedin.com"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.5.3"},
		new String [] {DNSClient.secondaryServerIP_Com, DNSClient.secondaryServerPort_Com, Constants.CLIENT, "www.linkedin.com", "1.2.5.3"},
		
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.amazon.com"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.5.4"},
		new String [] {DNSClient.secondaryServerIP_Com, DNSClient.secondaryServerPort_Com, Constants.CLIENT, "www.amazon.com", "1.2.5.4"},
	
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.microsoft.com"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.5.5"},
		new String [] {DNSClient.secondaryServerIP_Com, DNSClient.secondaryServerPort_Com, Constants.CLIENT, "www.microsoft.com", "1.2.5.5"},		
	};

	//-----------------------------------------------SCENARIO MSGS--------------------------------------------------	
	public static String [][] Scenario_1 = {
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.uta.edu"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.utd.edu"},
		
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.uno.org"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.physics.org"},
		
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.google.com"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.facebook.com"}
	};
	
	public static String [][] Scenario_2 = {
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.uta.edu"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.utd.edu"},
		
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.uno.org"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.physics.org"},
		
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.google.com"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.facebook.com"}
	};
	
	public static String [][] Scenario_3 = {
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.asu.edu"},
		new String [] {DNSClient.secondaryServerIP_Edu, DNSClient.secondaryServerPort_Edu, Constants.CLIENT, "www.uta.edu", "1.2.3.10"},
		
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.eduseek.org"},
		new String [] {DNSClient.secondaryServerIP_Org, DNSClient.secondaryServerPort_Org, Constants.CLIENT, "www.uno.org", "1.2.4.10"},
		
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.linkedin.com"},
		new String [] {DNSClient.secondaryServerIP_Com, DNSClient.secondaryServerPort_Com, Constants.CLIENT, "www.google.com", "1.2.5.10"}
	};

	public static String [][] Scenario_4 = {
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.uta.edu"},
		
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.uno.org"},
		
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.google.com"}
	};
	
	//-----------------------------------------------DOMAIN GROUP MSGS--------------------------------------------------
	public static String [][] EduDNSMsgs = {
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.uta.edu"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.utd.edu"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.asu.edu"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.uh.edu"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.utexas.edu"}		
	};

	public static String [][] EduReverseDNSMsgs = {
		//edu
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.3.1"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.3.2"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.3.3"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.3.4"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.3.5"}
	};

	public static String [][] EduUpdateMsgs = {
		//edu
		new String [] {DNSClient.secondaryServerIP_Edu, DNSClient.secondaryServerPort_Edu, Constants.CLIENT, "www.uta.edu", "1.2.3.1"},
		new String [] {DNSClient.secondaryServerIP_Edu, DNSClient.secondaryServerPort_Edu, Constants.CLIENT, "www.utd.edu", "1.2.3.2"},
		new String [] {DNSClient.secondaryServerIP_Edu, DNSClient.secondaryServerPort_Edu, Constants.CLIENT, "www.asu.edu", "1.2.3.3"},
		new String [] {DNSClient.secondaryServerIP_Edu, DNSClient.secondaryServerPort_Edu, Constants.CLIENT, "www.uh.edu", "1.2.3.4"},
		new String [] {DNSClient.secondaryServerIP_Edu, DNSClient.secondaryServerPort_Edu, Constants.CLIENT, "www.utexas.edu", "1.2.3.5"}
	};

	public static String [][] OrgDNSMsgs = {
		//Org
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.uno.org"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.physics.org"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.eduseek.org"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.history.org"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.wikipedia.org"}
		};


	public static String [][] OrgReverseDNSMsgs = {
		//Org
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.4.1"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.4.2"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.4.3"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.4.4"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.4.5"}
		};

	public static String [][] OrgUpdateMsgs = {
		//Org
		new String [] {DNSClient.secondaryServerIP_Org, DNSClient.secondaryServerPort_Org, Constants.CLIENT, "www.uno.org", "1.2.4.1"},
		new String [] {DNSClient.secondaryServerIP_Org, DNSClient.secondaryServerPort_Org, Constants.CLIENT, "www.physics.org", "1.2.4.2"},
		new String [] {DNSClient.secondaryServerIP_Org, DNSClient.secondaryServerPort_Org, Constants.CLIENT, "www.eduseek.org", "1.2.4.3"},
		new String [] {DNSClient.secondaryServerIP_Org, DNSClient.secondaryServerPort_Org, Constants.CLIENT, "www.history.org", "1.2.4.4"},
		new String [] {DNSClient.secondaryServerIP_Org, DNSClient.secondaryServerPort_Org, Constants.CLIENT, "www.wikipedia.org", "1.2.4.5"}
		};
	
	public static String [][] ComDNSMsgs = {
		//Com
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.google.com"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.facebook.com"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.linkedin.com"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.amazon.com"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "DNS", "www.microsoft.com"}
	};

	public static String [][] ComReverseDNSMsgs = {
		//Com
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.5.1"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.5.2"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.5.3"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.5.4"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.5.5"}		
	};
	
	public static String [][] ComUpdateMsgs = {
		//Com
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.5.1"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.5.2"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.5.3"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.5.4"},
		new String [] {DNSClient.primaryServerIP, DNSClient.primaryServerPort, Constants.CLIENT, "REVERSE_DNS", "1.2.5.5"}		
	};
	
}
